home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 3863 / 3863.xpi / chrome / imacros.jar / content / options.xul < prev    next >
Extensible Markup Language  |  2009-06-02  |  10KB  |  280 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://imacros/skin/imacros.css" type="text/css"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://imacros/locale/labels.dtd" >
  6. <prefwindow xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.             id="imacros-options-dialog"
  8.             title="&imacros.window.options;"
  9.             type="prefwindow"
  10.             buttons="extra1,cancel"
  11.             buttonlabelextra1="Apply"
  12.             defaultButton="extra1"
  13.             ondialogextra1="return do_accept();"
  14.             >
  15.  
  16.   <prefpane id="common-settings" label="&imacros.options.general;"
  17.             image="chrome://imacros/skin/common-settings.png">
  18.     <vbox>
  19.       <groupbox >
  20.         <caption label="&imacros.label.replay.speed;"/>
  21.         <radiogroup id="replay-speed" orient="horizontal">
  22.       <radio id="delayfast" label="&imacros.radio.fast;" />
  23.       <radio id="delaymedium" label="&imacros.radio.medium;" />
  24.       <radio id="delayslow" label="&imacros.radio.slow;" />
  25.     </radiogroup>
  26.         <hbox >
  27.           <spacer width="30px"/>
  28.           <label class="text-link"
  29.                  value="&imacros.label.or.use.set.r0;"
  30.                  href="http://www.iopus.com/imacros/home/fx/rd.asp?helpid=replayspeed"/>
  31.         </hbox>
  32.       </groupbox>
  33.       
  34.       <groupbox  flex="1">
  35.         <caption label="&imacros.options.visual.effects;"/>
  36.     <checkbox id="scroll"
  37.                   label="&imacros.checkbox.scroll.to3;" />
  38.     <checkbox id="highlight"
  39.                   label="&imacros.checkbox.highlight4;" />
  40.       </groupbox>
  41.       <groupbox>
  42.         <caption label="&imacros.label.timeout.limi1;"/>
  43.         <hbox align="center" >
  44.           <textbox style="max-width: 50px;" id="maxwait" />
  45.           <label class="text-link"
  46.                  value="&imacros.label.or.use.set.t2;"
  47.                  href="http://www.iopus.com/imacros/home/fx/rd.asp?helpid=timeout"/>  
  48.         </hbox>
  49.       </groupbox>
  50.       
  51.       <groupbox>
  52.         <caption label="&imacros.options.scripting.settings;"/>
  53.     <checkbox id="showjs"
  54.                   label="&imacros.checkbox.js5;" />
  55.         <hbox>
  56.           <spacer width="30px"/>
  57.           <label class="text-link"
  58.                  value="(or use //imacros-js:showsteps yes|no)"
  59.                  href="http://www.iopus.com/imacros/home/fx/rd.asp?helpid=showsteps"/>
  60.         </hbox>
  61.       </groupbox>
  62.       <!--spacer height="15px"/-->
  63.       <groupbox>
  64.         <hbox pack="center">
  65.           <button id="clickbutton"
  66.                 label="&imacros.button.open.click.5;"
  67.                 oncommand="window.openDialog('chrome://imacros/content/clickpanel.xul')" />
  68.         </hbox>
  69.       </groupbox>
  70.     </vbox>
  71.   </prefpane>
  72.   
  73.   <prefpane id="security-settings" label="&imacros.options.security;"
  74.             image="chrome://imacros/skin/security-settings.png">
  75.     <description maxwidth="500">
  76.         &imacros.label.the.master.p7;
  77.     </description>
  78.       <groupbox flex="1">
  79.         <caption label="&imacros.label.master.passw6;" />
  80.         <radiogroup id="masterpwd-usage">
  81.           <groupbox>
  82.             <radio id="sec1" onclick="updatePasswordControls(1);"
  83.                    label="&imacros.label.do.not.encry9;"/>
  84.           </groupbox>
  85.           <groupbox>
  86.             <vbox>
  87.               <radio id="sec2" onclick="updatePasswordControls(2);"
  88.                      label="&imacros.label.enter.maste10;" />
  89.               <box style="margin-left: 30px">
  90.             <textbox flex="1" id="sec2master" maxwidth="300"
  91.                      type="password" />
  92.               </box>
  93.             </vbox>
  94.           </groupbox>
  95.           <groupbox>
  96.             <hbox align="center" >
  97.               <radio id="sec3" onclick="updatePasswordControls(3);" />
  98.               
  99.               <button id="tmp-master"
  100.                       label="&imacros.button.enter.mast11;"
  101.                       oncommand="enterTempPassword();"/>
  102.             </hbox>
  103.             <description >
  104.               &imacros.label.enter.a.tem12;
  105.             </description>
  106.           </groupbox>
  107.         </radiogroup>
  108.       </groupbox>
  109.       <description >
  110.           &imacros.label.encryption.16;
  111.       </description>
  112.       <vbox >
  113.         <hbox pack="center">
  114.           <label class="text-link"
  115.                  value="&imacros.options.enc.command;"
  116.                  href="http://www.iopus.com/imacros/home/fx/rd.asp?helpid=encryption"/>
  117.         </hbox>
  118.         <spacer height="10px" />
  119.         <hbox align="center" pack="center">
  120.           <label value="Create or decrypt password strings manually:"/>
  121.           <label class="text-link"
  122.                  value="iMacros Password Tool"
  123.                  href="http://www.iopus.com/imacros/support/passwordtool/"/>
  124.         </hbox>
  125.       </vbox>
  126.       
  127.   </prefpane>
  128.   
  129.   <prefpane id="path-settings" label="Paths"
  130.             image="chrome://imacros/skin/path-settings.png">
  131.     <groupbox>
  132.       <caption label="Working folders"/>
  133.       <grid>
  134.         <columns>
  135.           <column />
  136.           <column flex="1"/>
  137.           <column />
  138.         </columns>
  139.         <rows>
  140.           <row align="center">
  141.             <hbox pack="end">
  142.             <label value="&imacros.label.folder.macros;"
  143.                    class="im-file-link"
  144.                    onclick="lookAt('defsavepath')"/>
  145.             </hbox>
  146.             <textbox flex="1" id="savepath" />
  147.             <button id="browse-savepath" class="browse"
  148.                     oncommand="browseForFolder('defsavepath', 'savepath');" />
  149.           </row>
  150.           <row align="center">
  151.             <hbox pack="end">
  152.             <label value="&imacros.label.folder.data17;"
  153.                    class="im-file-link"
  154.                    onclick="lookAt('defdatapath')"/>
  155.             </hbox>
  156.             <textbox id="datapath" flex="1" />
  157.             <button id="browse-datapath" class="browse" 
  158.                     oncommand="browseForFolder('defdatapath', 'datapath');" />
  159.           </row>
  160.           <row align="center">
  161.             <hbox pack="end">
  162.             <label value="&imacros.label.folder.down18;"
  163.                    class="im-file-link"
  164.                    onclick="lookAt('defdownpath')"/>
  165.             </hbox>
  166.             <textbox id="downpath" flex="1" />
  167.             <button id="browse-downpath" class="browse" 
  168.                     oncommand="browseForFolder('defdownpath', 'downpath');" />
  169.           </row>
  170.           <row align="center">
  171.             <hbox pack="end">
  172.             <label value="&imacros.label.logs.events;"
  173.                    class="im-file-link"
  174.                    onclick="lookAt('deflogpath')"/>
  175.             </hbox>
  176.             <textbox id="logpath" flex="1" />
  177.             <button id="browse-logpath" class="browse" 
  178.                     oncommand="browseForFolder('deflogpath', 'logpath');" />
  179.           </row>
  180.         </rows>
  181.       </grid>
  182.       <hbox align="center">
  183.         <checkbox id="store-in-profile"
  184.                   label="Store data in profile folder"
  185.                   oncommand="storeInProfile();"/>
  186.         <label class="text-link"
  187.                value="(recommended with Portable Firefox)"
  188.                href="http://www.iopus.com/imacros/home/fx/rd.asp?helpid=portable"/>
  189.       </hbox>
  190.       
  191.     </groupbox>
  192.     <groupbox>
  193.       <caption label="&imacros.options.external.editor;"/>
  194.       <checkbox id="chkeditor"
  195.                 label="&imacros.checkbox.use.exte19;"
  196.                 oncommand="updateEditorField();" />
  197.       <hbox style="margin-left: 30px">
  198.         <textbox id="editpath" flex="1" />
  199.         <button id="editpathbtn"
  200.                 class="browse" 
  201.                 oncommand="browseForFile('externaleditorpath','editpath');" />
  202.       </hbox>
  203.       <hbox pack="center">
  204.       <label class="text-link"
  205.                value="(View list of recommended editors)"
  206.                href="http://www.iopus.com/imacros/home/fx/rd.asp?helpid=editorlist"/>
  207.       </hbox>
  208.     </groupbox>
  209.   </prefpane>
  210.  
  211.   <prefpane id="shared-macro-settings" label="&imacros.options.shared;"
  212.             image="chrome://imacros/skin/shared-settings.png">
  213.     <description maxwidth="500">
  214.       Running shared macros could be dangerous. In order to protect
  215.       you from malicious code, iMacros shows a warning which
  216.       lets you inspect the source code of the macro to allow or block
  217.       it. The 'trusted sites' list lets you choose a default action for
  218.       the site.
  219.     </description>
  220.     
  221.     <groupbox >
  222.       <!--caption label="Trusted sites"/-->
  223.       <vbox>
  224.         <label value="Enter URL or domain name:"/>
  225.         <hbox pack="end">
  226.           <textbox id="add-site-textbox"
  227.                    type="autocomplete"
  228.                    autocompletesearch="history"
  229.                    completedefaultindex="true"
  230.                    onkeydown="onTextBoxKeypress(event)"
  231.                    ontextentered="addSite()"
  232.                    flex="1"/>
  233.           <button id="add-site" label="Add"
  234.                   tooltiptext="Add a site to the Trusted list"
  235.                   oncommand="addSite()"/>
  236.         </hbox>
  237.       </vbox>
  238.       <listbox id="white-list" seltype="multiple"
  239.                onkeydown="onListKeydown(event)"
  240.                ondblclick="onListDblClick(event)"
  241.                onselect="onSelectWhiteList()"
  242.                >
  243.         <listhead>
  244.           <listheader label="Site"/>
  245.           <listheader label="Status"/>
  246.         </listhead>
  247.         <listcols>
  248.           <listcol flex="1"/>
  249.           <listcol />
  250.         </listcols>
  251.       </listbox>
  252.       <hbox >
  253.         <button id="remove-site" label="Remove"
  254.                 tooltiptext="Remove the selected entries from the Trusted list"
  255.                 disabled="true"
  256.                 oncommand="removeSites()"/>
  257.         <!--spacer flex="1"/-->
  258.         <button id="toggle-site" label="Block"
  259.                 tooltiptext="Change the site status"
  260.                 disabled="true"
  261.                 oncommand="toggleSite()"/>
  262.       </hbox>
  263.       <label class="text-link"
  264.              value="&imacros.options.more.info;"
  265.              href="http://wiki.imacros.net/iMacros_for_Firefox#Bookmarking"/>
  266.       
  267.     </groupbox>
  268.     <spacer height="50px"/>
  269.   </prefpane>
  270.   
  271.   
  272.   <script type="application/x-javascript"
  273.           src="chrome://imacros/content/utils.js" />
  274.   <script type="application/x-javascript"
  275.           src="chrome://imacros/content/options.js" />
  276.   <script type="application/x-javascript"
  277.           src="chrome://imacros/content/rijndael.js" /> 
  278.  
  279. </prefwindow>
  280.